//
//  ImageViewController.m
//  XiangMuB
//
//  Created by 向修根 on 16/8/20.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import "ImageViewController.h"
#import <UIImageView+WebCache.h>

@interface ImageViewController ()

@end

@implementation ImageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    UIImageView *image =[[UIImageView alloc]initWithFrame:CGRectMake(0, 100, self.view.frame.size.width, self.view.frame.size.height - 200
                                                                     )];
    [image sd_setImageWithURL:[NSURL URLWithString:self.imageStr] placeholderImage:nil];
    [self.view addSubview:image];
    
    
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
